/**
 * 
 */
package com.servicecloud.channel;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;

/**
 * @Description 自定义通道处理程序
 * @author Gavin<br>
 *         2019年8月21日
 */
public interface DefaultChannelProcess {
	public static final String OUTPUT = "myself_output";// 输出通道名字
	public static final String INPUT = "myself_input";// 输入通道名字

	@Input(DefaultChannelProcess.INPUT)
	public SubscribableChannel input();

	@Output(DefaultChannelProcess.OUTPUT)
	public MessageChannel output();
}
